package com.itheima.mall.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 会员等级表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ums_member_level")
public class MemberLevel {

    private Long id;
    private String name;
    private Integer growthPoint;
    private Integer defaultStatus;                          //是否为默认等级: 0->不是; 1->是
    private BigDecimal freeFreightPoint;            //免运费标准
    private Integer commentGrowthPoint;         //每次评价获取的成长值
    private Integer priviledgeFreeFreight;          //是否有免邮特权
    private Integer priviledgeSignIn;           //是否有签到特权
    private Integer priviledgeComment;          //是否有评论获奖励特权
    private Integer priviledgePromotion;            //是否有专享活动特权
    private Integer priviledgeMemberPrice;          //是否有会员价格特权
    private Integer priviledgeBirthday;         //是否有生日特权
    private String note;

}
